/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.api.wrapper.business.valveDeviceNow;

import java.math.BigDecimal;
import java.util.Date;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.Validator;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.common.annotation.validator.ValidatorLenMin;
import org.opsli.common.enums.ValidatorType;
import org.opsli.plugins.excel.annotation.ExcelInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 阀门井实时数据 Model
*
* @author zk
* @date 2021-10-27 11:03:29
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class ValveDeviceNowModel extends ApiWrapper {

    /** 公司编号 */
    @ApiModelProperty(value = "公司编号")
    @ExcelProperty(value = "公司编号", order = 1)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String devid;

    /** 阀门井编号 */
    @ApiModelProperty(value = "阀门井编号")
    @ExcelProperty(value = "阀门井编号", order = 2)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String valveId;

    /** 设备编号 */
    @ApiModelProperty(value = "设备编号")
    @ExcelProperty(value = "设备编号", order = 3)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String deviceId;

    /** 设备电池电压 */
    @ApiModelProperty(value = "设备电池电压")
    @ExcelProperty(value = "设备电池电压", order = 4)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String voltage;

    /** 最新更新时间 */
    @ApiModelProperty(value = "最新更新时间")
    @ExcelProperty(value = "最新更新时间", order = 5)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String lastTime;

    /** 浓度(%)  */
    @ApiModelProperty(value = "浓度(%) ")
    @ExcelProperty(value = "浓度(%) ", order = 6)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String potency;

    /** 失效状态 */
    @ApiModelProperty(value = "失效状态")
    @ExcelProperty(value = "失效状态", order = 7)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String bit0;

    /** 浓度报警 */
    @ApiModelProperty(value = "浓度报警")
    @ExcelProperty(value = "浓度报警", order = 8)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String bit1;

    /** 水位状态 */
    @ApiModelProperty(value = "水位状态")
    @ExcelProperty(value = "水位状态", order = 9)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String bit2;

    /** 门开状态 */
    @ApiModelProperty(value = "门开状态")
    @ExcelProperty(value = "门开状态", order = 10)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String bit3;

    /** 电池一级欠压 */
    @ApiModelProperty(value = "电池一级欠压")
    @ExcelProperty(value = "电池一级欠压", order = 11)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String bit4;

    /** 电池二级欠压 */
    @ApiModelProperty(value = "电池二级欠压")
    @ExcelProperty(value = "电池二级欠压", order = 12)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String bit5;

    /** 移动状态 */
    @ApiModelProperty(value = "移动状态")
    @ExcelProperty(value = "移动状态", order = 13)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String bit6;

    /** 存储器状态 */
    @ApiModelProperty(value = "存储器状态")
    @ExcelProperty(value = "存储器状态", order = 14)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String bit7;

    /** 外部电池状态 */
    @ApiModelProperty(value = "外部电池状态")
    @ExcelProperty(value = "外部电池状态", order = 15)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String bit8;

    private String valveName;

    private String temp;
    private String hum;

    private String deviceVersion;



}
